home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / perl40_2.zip / CONFIG.H < prev    next >
C/C++ Source or Header  |  1991-12-19  |  27KB  |  997 lines

  1. #ifndef config_h
  2. #define config_h
  3. /* config.h
  4.  *
  5.  * This file is hand tailored for MS-DOS and Borland C++.  The file
  6.  * is derived from one created by Tom Dinger for MSDOS and MSC.
  7.  * Stuart Phillips, November 1991.
  8.  */
  9.  
  10. /* typedef for off_t
  11.  *
  12.  */
  13.  
  14. typedef unsigned long off_t;
  15.  
  16.  
  17. /*
  18.  * BUGGY_MSC5:
  19.  *    This symbol is defined if you are the unfortunate owner of the buggy
  20.  *    Microsoft C compiler version 5.1.  It is used as a conditional to
  21.  *    guard code sections that are known to break this compiler.
  22.  * BUGGY_MSC6:
  23.  *    This symbol is defined if you are the unfortunate owner of the buggy
  24.  *    Microsoft C compiler version 6.0A.  It is used as a conditional to
  25.  *    guard code sections that are known to break this compiler.
  26.  */
  27. /*#undef BUGGY_MSC5            /**/
  28. /*#undef BUGGY_MSC6            /**/
  29.  
  30. /* SMALLSWITCHES
  31.  * Define this is your compiler doesnt handle huge numbers of case
  32.  * statements in a switch.
  33.  */
  34. #define SMALLSWITCHES            /**/
  35.  
  36.  
  37.  
  38. /* EUNICE
  39.  *    This symbol, if defined, indicates that the program is being compiled
  40.  *    under the EUNICE package under VMS.  The program will need to handle
  41.  *    things like files that don't go away the first time you unlink them,
  42.  *    due to version numbering.  It will also need to compensate for lack
  43.  *    of a respectable link() command.
  44.  */
  45. /* VMS
  46.  *    This symbol, if defined, indicates that the program is running under
  47.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  48.  */
  49. /*#undef    EUNICE        /**/
  50. /*#undef    VMS        /**/
  51.  
  52.  
  53. /* ALIGNBYTES
  54.  *    This symbol contains the number of bytes required to align a double.
  55.  *    Usual values are 2, 4, and 8.
  56.  */
  57. #define ALIGNBYTES 4        /**/
  58.  
  59.  
  60. /* BIN
  61.  *    This symbol holds the name of the directory in which the user wants
  62.  *    to keep publicly executable images for the package in question.  It
  63.  *    is most often a local directory such as /usr/local/bin.
  64.  */
  65. #define BIN "/usr/local/bin"             /**/
  66.  
  67.  
  68. /* BYTEORDER
  69.  *    This symbol contains an encoding of the order of bytes in a long.
  70.  *    Usual values (in octal) are 01234, 04321, 02143, 03412...
  71.  */
  72. #define BYTEORDER 0x1234        /**/
  73.  
  74.  
  75. /* CPPSTDIN
  76.  *    This symbol contains the first part of the string which will invoke
  77.  *    the C preprocessor on the standard input and produce to standard
  78.  *    output.     Typical value of "cc -E" or "/lib/cpp".
  79.  */
  80. /* CPPMINUS
  81.  *    This symbol contains the second part of the string which will invoke
  82.  *    the C preprocessor on the standard input and produce to standard
  83.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  84.  *    to specify standard input, otherwise the value is "".
  85.  */
  86. /* TODO: doesn't work for MSC -- it's more complicated than this */
  87. #define CPPSTDIN "cl "
  88. #define CPPMINUS ""
  89.  
  90.  
  91. /* HAS_BCMP
  92.  *    This symbol, if defined, indicates that the bcmp routine is available
  93.  *    to compare blocks of memory.  If undefined, use memcmp.  If that's
  94.  *    not available, roll your own.
  95.  */
  96. /*#undef    HAS_BCMP        /**/
  97.  
  98.  
  99. /* HAS_BCOPY
  100.  *    This symbol, if defined, indicates that the bcopy routine is available
  101.  *    to copy blocks of memory.  Otherwise you should probably use memcpy().
  102.  */
  103. /*#undef    HAS_BCOPY        /**/
  104.  
  105.  
  106. /* HAS_BZERO
  107.  *    This symbol, if defined, indicates that the bzero routine is available
  108.  *    to zero blocks of memory.  Otherwise you should probably use memset()
  109.  *    or roll your own.
  110.  */
  111. /*#undef    HAS_BZERO        /**/
  112.  
  113.  
  114. /* CASTNEGFLOAT
  115.  *    This symbol, if defined, indicates that this C compiler knows how to
  116.  *    cast negative or large floating point numbers to unsigned longs, ints
  117.  *    and shorts.
  118.  */
  119. /* CASTFLAGS
  120.  *    This symbol contains flags that say what difficulties the compiler
  121.  *    has casting odd floating values to unsigned long:
  122.  *        1 = couldn't cast < 0
  123.  *        2 = couldn't cast >= 0x80000000
  124.  */
  125. #define    CASTNEGFLOAT    /**/
  126. #define    CASTFLAGS 0    /**/
  127.  
  128.  
  129. /* CHARSPRINTF
  130.  *    This symbol is defined if this system declares "char *sprintf()" in
  131.  *    stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
  132.  *    is up to the package author to declare sprintf correctly based on the
  133.  *    symbol.
  134.  */
  135. /*#undef    CHARSPRINTF     /**/
  136.  
  137.  
  138. /* HAS_CHSIZE
  139.  *    This symbol, if defined, indicates that the chsize routine is available
  140.  *    to truncate files.  You might need a -lx to get this routine.
  141.  */
  142. #define    HAS_CHSIZE        /**/
  143.  
  144.  
  145. /* HAS_CRYPT
  146.  *    This symbol, if defined, indicates that the crypt routine is available
  147.  *    to encrypt passwords and the like.
  148.  */
  149. /*#undef    HAS_CRYPT        /**/
  150.  
  151.  
  152. /* CSH
  153.  *    This symbol, if defined, indicates that the C-shell exists.
  154.  *    If defined, contains the full pathname of csh.
  155.  */
  156. /*#undef CSH "/usr/bin/csh"        /**/
  157.  
  158.  
  159. /* DOSUID
  160.  *    This symbol, if defined, indicates that the C program should
  161.  *    check the script that it is executing for setuid/setgid bits, and
  162.  *    attempt to emulate setuid/setgid on systems that have disabled
  163.  *    setuid #! scripts because the kernel can't do it securely.
  164.  *    It is up to the package designer to make sure that this emulation
  165.  *    is done securely.  Among other things, it should do an fstat on
  166.  *    the script it just opened to make sure it really is a setuid/setgid
  167.  *    script, it should make sure the arguments passed correspond exactly
  168.  *    to the argument on the #! line, and it should not trust any
  169.  *    subprocesses to which it must pass the filename rather than the
  170.  *    file descriptor of the script to be executed.
  171.  */
  172. /*#undef DOSUID        /**/
  173.  
  174.  
  175. /* HAS_DUP2
  176.  *    This symbol, if defined, indicates that the dup2 routine is available
  177.  *    to dup file descriptors.  Otherwise you should use dup().
  178.  */
  179. #define    HAS_DUP2        /**/
  180.  
  181.  
  182. /* HAS_FCHMOD
  183.  *    This symbol, if defined, indicates that the fchmod routine is available
  184.  *    to change mode of opened files.  If unavailable, use chmod().
  185.  */
  186. /*#undef    HAS_FCHMOD        /**/
  187.  
  188.  
  189. /* HAS_FCHOWN
  190.  *    This symbol, if defined, indicates that the fchown routine is available
  191.  *    to change ownership of opened files.  If unavailable, use chown().
  192.  */
  193. /*#undef    HAS_FCHOWN        /**/
  194.  
  195.  
  196. /* HAS_FCNTL
  197.  *    This symbol, if defined, indicates to the C program that
  198.  *    the fcntl() function exists.
  199.  */
  200. /*#undef    HAS_FCNTL        /**/
  201.  
  202.  
  203. /* FLEXFILENAMES
  204.  *    This symbol, if defined, indicates that the system supports filenames
  205.  *    longer than 14 characters.
  206.  */
  207. /*#undef    FLEXFILENAMES        /**/
  208.  
  209.  
  210. /* HAS_FLOCK
  211.  *    This symbol, if defined, indicates that the flock() routine is
  212.  *    available to do file locking.
  213.  */
  214. /*#undef    HAS_FLOCK        /**/
  215.  
  216.  
  217. /* HAS_GETGROUPS
  218.  *    This symbol, if defined, indicates that the getgroups() routine is
  219.  *    available to get the list of process groups.  If unavailable, multiple
  220.  *    groups are probably not supported.
  221.  */
  222. /*#undef    HAS_GETGROUPS        /**/
  223.  
  224.  
  225. /* HAS_GETHOSTENT
  226.  *    This symbol, if defined, indicates that the gethostent() routine is
  227.  *    available to lookup host names in some data base or other.
  228.  */
  229. /*#undef    HAS_GETHOSTENT        /**/
  230.  
  231.  
  232. /* HAS_GETPGRP
  233.  *    This symbol, if defined, indicates that the getpgrp() routine is
  234.  *    available to get the current process group.
  235.  */
  236. /*#undef    HAS_GETPGRP        /**/
  237.  
  238.  
  239. /* HAS_GETPGRP2
  240.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  241.  *    routine is available to get the current process group.
  242.  */
  243. /*#undef    HAS_GETPGRP2        /**/
  244.  
  245.  
  246. /* HAS_GETPRIORITY
  247.  *    This symbol, if defined, indicates that the getpriority() routine is
  248.  *    available to get a process's priority.
  249.  */
  250. /*#undef    HAS_GETPRIORITY        /**/
  251.  
  252.  
  253. /* HAS_HTONS
  254.  *    This symbol, if defined, indicates that the htons routine (and friends)
  255.  *    are available to do network order byte swapping.
  256.  */
  257. /* HAS_HTONL
  258.  *    This symbol, if defined, indicates that the htonl routine (and friends)
  259.  *    are available to do network order byte swapping.
  260.  */
  261. /* HAS_NTOHS
  262.  *    This symbol, if defined, indicates that the ntohs routine (and friends)
  263.  *    are available to do network order byte swapping.
  264.  */
  265. /* HAS_NTOHL
  266.  *    This symbol, if defined, indicates that the ntohl routine (and friends)
  267.  *    are available to do network order byte swapping.
  268.  */
  269. /*#undef    HAS_HTONS    /**/
  270. /*#undef    HAS_HTONL    /**/
  271. /*#undef    HAS_NTOHS    /**/
  272. /*#undef    HAS_NTOHL    /**/
  273.  
  274.  
  275. /* index
  276.  *    This preprocessor symbol is defined, along with rindex, if the system
  277.  *    uses the strchr and strrchr routines instead.
  278.  */
  279. /* rindex
  280.  *    This preprocessor symbol is defined, along with index, if the system
  281.  *    uses the strchr and strrchr routines instead.
  282.  */
  283. #define    index strchr    /* cultural */
  284. #define    rindex strrchr    /*  differences? */
  285.  
  286.  
  287. /* HAS_KILLPG
  288.  *    This symbol, if defined, indicates that the killpg routine is available
  289.  *    to kill process groups.  If unavailable, you probably should use kill
  290.  *    with a negative process number.
  291.  */
  292. /*#undef    HAS_KILLPG        /**/
  293.  
  294.  
  295. /* HAS_LSTAT
  296.  *    This symbol, if defined, indicates that the lstat() routine is
  297.  *    available to stat symbolic links.
  298.  */
  299. /*#undef    HAS_LSTAT        /**/
  300.  
  301.  
  302. /* HAS_MEMCMP
  303.  *    This symbol, if defined, indicates that the memcmp routine is available
  304.  *    to compare blocks of memory.  If undefined, roll your own.
  305.  */
  306. #define    HAS_MEMCMP        /**/
  307.  
  308.  
  309. /* HAS_MEMCPY
  310.  *    This symbol, if defined, indicates that the memcpy routine is available
  311.  *    to copy blocks of memory.  Otherwise you should probably use bcopy().
  312.  *    If neither is defined, roll your own.
  313.  */
  314. #define    HAS_MEMCPY        /**/
  315.  
  316.  
  317. /* HAS_MKDIR
  318.  *    This symbol, if defined, indicates that the mkdir routine is available
  319.  *    to create directories.  Otherwise you should fork off a new process to
  320.  *    exec /bin/mkdir.
  321.  */
  322. #define    HAS_MKDIR        /**/
  323.  
  324.  
  325. /* HAS_MSG
  326.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  327.  *    supported.
  328.  */
  329. /*#undef    HAS_MSG        /**/
  330.  
  331.  
  332. /* HAS_MSGCTL
  333.  *    This symbol, if defined, indicates that the msgctl() routine is
  334.  *    available to stat symbolic links.
  335.  */
  336. /*#undef    HAS_MSGCTL        /**/
  337.  
  338.  
  339. /* HAS_MSGGET
  340.  *    This symbol, if defined, indicates that the msgget() routine is
  341.  *    available to stat symbolic links.
  342.  */
  343. /*#undef    HAS_MSGGET        /**/
  344.  
  345.  
  346. /* HAS_MSGRCV
  347.  *    This symbol, if defined, indicates that the msgrcv() routine is
  348.  *    available to stat symbolic links.
  349.  */
  350. /*#undef    HAS_MSGRCV        /**/
  351.  
  352.  
  353. /* HAS_MSGSND
  354.  *    This symbol, if defined, indicates that the msgsnd() routine is
  355.  *    available to stat symbolic links.
  356.  */
  357. /*#undef    HAS_MSGSND        /**/
  358.  
  359.  
  360. /* HAS_NDBM
  361.  *    This symbol, if defined, indicates that ndbm.h exists and should
  362.  *    be included.
  363.  */
  364. /*#undef    HAS_NDBM        /**/
  365.  
  366.  
  367. /* HAS_ODBM
  368.  *    This symbol, if defined, indicates that dbm.h exists and should
  369.  *    be included.
  370.  */
  371. /*#undef    HAS_ODBM        /**/
  372.  
  373.  
  374. /* HAS_OPEN3
  375.  *    This manifest constant lets the C program know that the three
  376.  *    argument form of open(2) is available.
  377.  */
  378. #define    HAS_OPEN3        /**/
  379.  
  380.  
  381. /* HAS_READDIR
  382.  *    This symbol, if defined, indicates that the readdir routine is available
  383.  *    from the C library to read directories.
  384.  */
  385. #define    HAS_READDIR        /**/
  386.  
  387.  
  388. /* HAS_RENAME
  389.  *    This symbol, if defined, indicates that the rename routine is available
  390.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  391.  *    trick.
  392.  */
  393. #define    HAS_RENAME        /**/
  394.  
  395.  
  396. /* HAS_RMDIR
  397.  *    This symbol, if defined, indicates that the rmdir routine is available
  398.  *    to remove directories.  Otherwise you should fork off a new process to
  399.  *    exec /bin/rmdir.
  400.  */
  401. #define    HAS_RMDIR        /**/
  402.  
  403.  
  404. /* HAS_SELECT
  405.  *    This symbol, if defined, indicates that the select() subroutine
  406.  *    exists.
  407.  */
  408. /*#undef    HAS_SELECT    /**/
  409.  
  410.  
  411. /* HAS_SEM
  412.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  413.  *    supported.
  414.  */
  415. /*#undef    HAS_SEM        /**/
  416.  
  417.  
  418. /* HAS_SEMCTL
  419.  *    This symbol, if defined, indicates that the semctl() routine is
  420.  *    available to stat symbolic links.
  421.  */
  422. /*#undef    HAS_SEMCTL        /**/
  423.  
  424.  
  425. /* HAS_SEMGET
  426.  *    This symbol, if defined, indicates that the semget() routine is
  427.  *    available to stat symbolic links.
  428.  */
  429. /*#undef    HAS_SEMGET        /**/
  430.  
  431.  
  432. /* HAS_SEMOP
  433.  *    This symbol, if defined, indicates that the semop() routine is
  434.  *    available to stat symbolic links.
  435.  */
  436. /*#undef    HAS_SEMOP        /**/
  437.  
  438.  
  439. /* HAS_SETEGID
  440.  *    This symbol, if defined, indicates that the setegid routine is available
  441.  *    to change the effective gid of the current program.
  442.  */
  443. /*#undef    HAS_SETEGID        /**/
  444.  
  445.  
  446. /* HAS_SETEUID
  447.  *    This symbol, if defined, indicates that the seteuid routine is available
  448.  *    to change the effective uid of the current program.
  449.  */
  450. /*#undef    HAS_SETEUID        /**/
  451.  
  452.  
  453. /* HAS_SETPGRP
  454.  *    This symbol, if defined, indicates that the setpgrp() routine is
  455.  *    available to set the current process group.
  456.  */
  457. /*#undef    HAS_SETPGRP        /**/
  458.  
  459.  
  460. /* HAS_SETPGRP2
  461.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  462.  *    routine is available to set the current process group.
  463.  */
  464. /*#undef    HAS_SETPGRP2        /**/
  465.  
  466.  
  467. /* HAS_SETPRIORITY
  468.  *    This symbol, if defined, indicates that the setpriority() routine is
  469.  *    available to set a process's priority.
  470.  */
  471. /*#undef    HAS_SETPRIORITY        /**/
  472.  
  473.  
  474. /* HAS_SETREGID
  475.  *    This symbol, if defined, indicates that the setregid routine is
  476.  *    available to change the real and effective gid of the current program.
  477.  */
  478. /* HAS_SETRESGID
  479.  *    This symbol, if defined, indicates that the setresgid routine is
  480.  *    available to change the real, effective and saved gid of the current
  481.  *    program.
  482.  */
  483. /*#undef    HAS_SETREGID        /**/
  484. /*#undef    HAS_SETRESGID        /**/
  485.  
  486.  
  487. /* HAS_SETREUID
  488.  *    This symbol, if defined, indicates that the setreuid routine is
  489.  *    available to change the real and effective uid of the current program.
  490.  */
  491. /* HAS_SETRESUID
  492.  *    This symbol, if defined, indicates that the setresuid routine is
  493.  *    available to change the real, effective and saved uid of the current
  494.  *    program.
  495.  */
  496. /*#undef    HAS_SETREUID        /**/
  497. /*#undef    HAS_SETRESUID        /**/
  498.  
  499.  
  500. /* HAS_SETRGID
  501.  *    This symbol, if defined, indicates that the setrgid routine is available
  502.  *    to change the real gid of the current program.
  503.  */
  504. /*#undef    HAS_SETRGID        /**/
  505.  
  506.  
  507. /* HAS_SETRUID
  508.  *    This symbol, if defined, indicates that the setruid routine is available
  509.  *    to change the real uid of the current program.
  510.  */
  511. /*#undef    HAS_SETRUID        /**/
  512.  
  513.  
  514. /* HAS_SHM
  515.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  516.  *    supported.
  517.  */
  518. /*#undef    HAS_SHM        /**/
  519.  
  520.  
  521. /* HAS_SHMAT
  522.  *    This symbol, if defined, indicates that the shmat() routine is
  523.  *    available to stat symbolic links.
  524.  */
  525. /*#undef    HAS_SHMAT        /**/
  526.  
  527.  
  528. /* HAS_SHMCTL
  529.  *    This symbol, if defined, indicates that the shmctl() routine is
  530.  *    available to stat symbolic links.
  531.  */
  532. /*#undef    HAS_SHMCTL        /**/
  533.  
  534.  
  535. /* HAS_SHMDT
  536.  *    This symbol, if defined, indicates that the shmdt() routine is
  537.  *    available to stat symbolic links.
  538.  */
  539. /*#undef    HAS_SHMDT        /**/
  540.  
  541.  
  542. /* HAS_SHMGET
  543.  *    This symbol, if defined, indicates that the shmget() routine is
  544.  *    available to stat symbolic links.
  545.  */
  546. /*#undef    HAS_SHMGET        /**/
  547.  
  548.  
  549. /* HAS_SOCKET
  550.  *    This symbol, if defined, indicates that the BSD socket interface is
  551.  *    supported.
  552.  */
  553. /* HAS_SOCKETPAIR
  554.  *    This symbol, if defined, indicates that the BSD socketpair call is
  555.  *    supported.
  556.  */
  557. /* OLDSOCKET
  558.  *    This symbol, if defined, indicates that the 4.1c BSD socket interface
  559.  *    is supported instead of the 4.2/4.3 BSD socket interface.
  560.  */
  561. /*#undef    HAS_SOCKET        /**/
  562.  
  563.  
  564. /*#undef    HAS_SOCKETPAIR    /**/
  565.  
  566.  
  567. /*#undef    OLDSOCKET    /**/
  568.  
  569.  
  570. /* STATBLOCKS
  571.  *    This symbol is defined if this system has a stat structure declaring
  572.  *    st_blksize and st_blocks.
  573.  */
  574. /*#undef    STATBLOCKS     /**/
  575.  
  576.  
  577. /* STDSTDIO
  578.  *    This symbol is defined if this system has a FILE structure declaring
  579.  *    _ptr and _cnt in stdio.h.
  580.  *
  581.  *    NOTE: [Tom Dinger, 23 February 1991] You also need the _filbuf()
  582.  *    function, usually referred to by the getc() macro in stdio.h.
  583.  */
  584. /*#undef    STDSTDIO     /**/
  585.  
  586.  
  587. /* STRUCTCOPY
  588.  *    This symbol, if defined, indicates that this C compiler knows how
  589.  *    to copy structures.  If undefined, you'll need to use a block copy
  590.  *    routine of some sort instead.
  591.  */
  592. #define    STRUCTCOPY    /**/
  593.  
  594.  
  595. /* HAS_STRERROR
  596.  *    This symbol, if defined, indicates that the strerror() routine is
  597.  *    available to translate error numbers to strings.
  598.  */
  599. #define    HAS_STRERROR        /**/
  600.  
  601.  
  602. /* HAS_SYMLINK
  603.  *    This symbol, if defined, indicates that the symlink routine is available
  604.  *    to create symbolic links.
  605.  */
  606. /*#undef    HAS_SYMLINK        /**/
  607.  
  608.  
  609. /* HAS_SYSCALL
  610.  *    This symbol, if defined, indicates that the syscall routine is available
  611.  *    to call arbitrary system calls.  If undefined, that's tough.
  612.  */
  613. /*#undef    HAS_SYSCALL        /**/
  614.  
  615.  
  616. /* HAS_TRUNCATE
  617.  *    This symbol, if defined, indicates that the truncate routine is
  618.  *    available to truncate files.
  619.  */
  620. /*#undef    HAS_TRUNCATE        /**/
  621.  
  622.  
  623. /* HAS_VFORK
  624.  *    This symbol, if defined, indicates that vfork() exists.
  625.  */
  626. /*#undef    HAS_VFORK    /**/
  627.  
  628.  
  629. /* VOIDSIG
  630.  *    This symbol is defined if this system declares "void (*signal())()" in
  631.  *    signal.h.  The old way was to declare it as "int (*signal())()".  It
  632.  *    is up to the package author to declare things correctly based on the
  633.  *    symbol.
  634.  */
  635. /* TO_SIGNAL
  636.  *    This symbol's value is either "void" or "int", corresponding to the
  637.  *    appropriate return "type" of a signal handler.  Thus, one can declare
  638.  *    a signal handler using "TO_SIGNAL (*handler())()", and define the
  639.  *    handler using "TO_SIGNAL handler(sig)".
  640.  */
  641. #define    VOIDSIG     /**/
  642. #define    TO_SIGNAL    int     /**/
  643.  
  644.  
  645. /* HASVOLATILE
  646.  *    This symbol, if defined, indicates that this C compiler knows about
  647.  *    the volatile declaration.
  648.  */
  649. /*#undef    HASVOLATILE    /**/
  650.  
  651.  
  652. /* HAS_VPRINTF
  653.  *    This symbol, if defined, indicates that the vprintf routine is available
  654.  *    to printf with a pointer to an argument list.  If unavailable, you
  655.  *    may need to write your own, probably in terms of _doprnt().
  656.  */
  657. /* CHARVSPRINTF
  658.  *    This symbol is defined if this system has vsprintf() returning type
  659.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  660.  *    is up to the package author to declare vsprintf correctly based on the
  661.  *    symbol.
  662.  */
  663. #define    HAS_VPRINTF    /**/
  664. /*#undef    CHARVSPRINTF     /**/
  665.  
  666.  
  667. /* HAS_WAIT4
  668.  *    This symbol, if defined, indicates that wait4() exists.
  669.  */
  670. /*#undef    HAS_WAIT4    /**/
  671.  
  672.  
  673. /* HAS_WAITPID
  674.  *    This symbol, if defined, indicates that waitpid() exists.
  675.  */
  676. /*#undef    HAS_WAITPID    /**/
  677.  
  678.  
  679. /* GIDTYPE
  680.  *    This symbol has a value like gid_t, int, ushort, or whatever type is
  681.  *    used to declare group ids in the kernel.
  682.  */
  683. #define GIDTYPE int        /**/
  684.  
  685.  
  686. /* GROUPSTYPE
  687.  *    This symbol has a value like gid_t, int, ushort, or whatever type is
  688.  *    used in the return value of getgroups().
  689.  */
  690. #define GROUPSTYPE int        /**/
  691.  
  692.  
  693. /* I_FCNTL
  694.  *    This manifest constant tells the C program to include <fcntl.h>.
  695.  */
  696. #define    I_FCNTL    /**/
  697.  
  698.  
  699. /* I_GDBM
  700.  *    This symbol, if defined, indicates that gdbm.h exists and should
  701.  *    be included.
  702.  */
  703. /*#undef    I_GDBM        /**/
  704.  
  705.  
  706. /* I_GRP
  707.  *    This symbol, if defined, indicates to the C program that it should
  708.  *    include grp.h.
  709.  */
  710. /*#undef    I_GRP        /**/
  711.  
  712.  
  713. /* I_NETINET_IN
  714.  *    This symbol, if defined, indicates to the C program that it should
  715.  *    include netinet/in.h.
  716.  */
  717. /* I_SYS_IN
  718.  *    This symbol, if defined, indicates to the C program that it should
  719.  *    include sys/in.h.
  720.  */
  721. /*#undef    I_NETINET_IN        /**/
  722. /*#undef    I_SYS_IN        /**/
  723.  
  724.  
  725. /* I_PWD
  726.  *    This symbol, if defined, indicates to the C program that it should
  727.  *    include pwd.h.
  728.  */
  729. /* PWQUOTA
  730.  *    This symbol, if defined, indicates to the C program that struct passwd
  731.  *    contains pw_quota.
  732.  */
  733. /* PWAGE
  734.  *    This symbol, if defined, indicates to the C program that struct passwd
  735.  *    contains pw_age.
  736.  */
  737. /* PWCHANGE
  738.  *    This symbol, if defined, indicates to the C program that struct passwd
  739.  *    contains pw_change.
  740.  */
  741. /* PWCLASS
  742.  *    This symbol, if defined, indicates to the C program that struct passwd
  743.  *    contains pw_class.
  744.  */
  745. /* PWEXPIRE
  746.  *    This symbol, if defined, indicates to the C program that struct passwd
  747.  *    contains pw_expire.
  748.  */
  749. /* PWCOMMENT
  750.  *    This symbol, if defined, indicates to the C program that struct passwd
  751.  *    contains pw_comment.
  752.  */
  753. /*#undef    I_PWD        /**/
  754. /*#undef    PWQUOTA        /**/
  755. /*#undef    PWAGE        /**/
  756. /*#undef    PWCHANGE    /**/
  757. /*#undef    PWCLASS        /**/
  758. /*#undef    PWEXPIRE    /**/
  759. /*#undef    PWCOMMENT    /**/
  760.  
  761.  
  762. /* I_SYS_FILE
  763.  *    This manifest constant tells the C program to include <sys/file.h>.
  764.  */
  765. /*#undef    I_SYS_FILE    /**/
  766.  
  767.  
  768. /* I_SYSIOCTL
  769.  *    This symbol, if defined, indicates that sys/ioctl.h exists and should
  770.  *    be included.
  771.  */
  772. /*#undef    I_SYSIOCTL        /**/
  773.  
  774.  
  775. /* I_TIME
  776.  *    This symbol is defined if the program should include <time.h>.
  777.  */
  778. /* I_SYS_TIME
  779.  *    This symbol is defined if the program should include <sys/time.h>.
  780.  */
  781. /* SYSTIMEKERNEL
  782.  *    This symbol is defined if the program should include <sys/time.h>
  783.  *    with KERNEL defined.
  784.  */
  785. /* I_SYS_SELECT
  786.  *    This symbol is defined if the program should include <sys/select.h>.
  787.  */
  788. #define    I_TIME         /**/
  789. /*#undef    I_SYS_TIME     /**/
  790. /*#undef    SYSTIMEKERNEL     /**/
  791. /*#undef    I_SYS_SELECT     /**/
  792.  
  793.  
  794. /* I_UTIME
  795.  *    This symbol, if defined, indicates to the C program that it should
  796.  *    include utime.h.
  797.  */
  798. /*#undef    I_UTIME        /**/
  799.  
  800.  
  801. /* I_VARARGS
  802.  *    This symbol, if defined, indicates to the C program that it should
  803.  *    include varargs.h.
  804.  */
  805. #define    I_VARARGS        /**/
  806.  
  807.  
  808. /* I_VFORK
  809.  *    This symbol, if defined, indicates to the C program that it should
  810.  *    include vfork.h.
  811.  */
  812. /*#undef    I_VFORK        /**/
  813.  
  814.  
  815. /* INTSIZE
  816.  *    This symbol contains the size of an int, so that the C preprocessor
  817.  *    can make decisions based on it.
  818.  */
  819. #define INTSIZE 2        /**/
  820.  
  821.  
  822. /* I_DIRENT
  823.  *    This symbol, if defined, indicates that the program should use the
  824.  *    P1003-style directory routines, and include <dirent.h>.
  825.  */
  826. /* I_SYS_DIR
  827.  *    This symbol, if defined, indicates that the program should use the
  828.  *    directory functions by including <sys/dir.h>.
  829.  */
  830. /* I_NDIR
  831.  *    This symbol, if defined, indicates that the program should include the
  832.  *    system's version of ndir.h, rather than the one with this package.
  833.  */
  834. /* I_SYS_NDIR
  835.  *    This symbol, if defined, indicates that the program should include the
  836.  *    system's version of sys/ndir.h, rather than the one with this package.
  837.  */
  838. /* I_MY_DIR
  839.  *    This symbol, if defined, indicates that the program should compile
  840.  *    the ndir.c code provided with the package.
  841.  */
  842. /* DIRNAMLEN
  843.  *    This symbol, if defined, indicates to the C program that the length
  844.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  845.  *    you need to do strlen() on the d_name field.
  846.  */
  847. /*#undef    I_DIRENT    /**/
  848. #define    I_SYS_DIR    /**/
  849. /*#undef    I_NDIR        /**/
  850. /*#undef    I_SYS_NDIR    /**/
  851. /*#undef    I_MY_DIR    /**/
  852. /*#undef    DIRNAMLEN    /**/
  853.  
  854.  
  855. /* MALLOCPTRTYPE
  856.  *    This symbol defines the kind of ptr returned by malloc and realloc.
  857.  */
  858. #define MALLOCPTRTYPE void         /**/
  859.  
  860.  
  861. /* RANDBITS
  862.  *    This symbol contains the number of bits of random number the rand()
  863.  *    function produces.  Usual values are 15, 16, and 31.
  864.  */
  865. #define RANDBITS 31        /**/
  866.  
  867.  
  868. /* SCRIPTDIR
  869.  *    This symbol holds the name of the directory in which the user wants
  870.  *    to put publicly executable scripts for the package in question.  It
  871.  *    is often a directory that is mounted across diverse architectures.
  872.  */
  873. #define SCRIPTDIR "C:/bin/perl"             /**/
  874.  
  875.  
  876. /* SIG_NAME
  877.  *    This symbol contains an list of signal names in order.
  878.  *
  879.  *    Note: This list is specific for Microsoft C 5.1 and 6.0, which only
  880.  *    support SIGINT, SIGFPE, SIGILL, SIGSEGV, and SIGABRT on
  881.  *    DOS 3.x, but in addition defines SIGTERM, SIGBREAK, SIGUSR1,
  882.  *    SIGUSR2, and SIGUSR3.
  883.  */
  884. #define SIG_NAME \
  885.  "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE","KILL",\
  886.  "BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","TSTP","CONT",\
  887.  "USR3","BREAK","ABRT"        /**/
  888.  
  889.  
  890. /* STDCHAR
  891.  *    This symbol is defined to be the type of char used in stdio.h.
  892.  *    It has the values "unsigned char" or "char".
  893.  */
  894. #define STDCHAR char    /**/
  895.  
  896.  
  897. /* UIDTYPE
  898.  *    This symbol has a value like uid_t, int, ushort, or whatever type is
  899.  *    used to declare user ids in the kernel.
  900.  */
  901. #define UIDTYPE int        /**/
  902.  
  903.  
  904. /* VOIDHAVE
  905.  *    This symbol indicates how much support of the void type is given by this
  906.  *    compiler.  What various bits mean:
  907.  *
  908.  *        1 = supports declaration of void
  909.  *        2 = supports arrays of pointers to functions returning void
  910.  *        4 = supports comparisons between pointers to void functions and
  911.  *            addresses of void functions
  912.  *
  913.  *    The package designer should define VOIDWANT to indicate the requirements
  914.  *    of the package.  This can be done either by #defining VOIDWANT before
  915.  *    including config.h, or by defining voidwant in Myinit.U.  If the level
  916.  *    of void support necessary is not present, config.h defines void to "int",
  917.  *    VOID to the empty string, and VOIDP to "char *".
  918.  */
  919. /* void
  920.  *    This symbol is used for void casts.  On implementations which support
  921.  *    void appropriately, its value is "void".  Otherwise, its value maps
  922.  *    to "int".
  923.  */
  924. /* VOID
  925.  *    This symbol's value is "void" if the implementation supports void
  926.  *    appropriately.  Otherwise, its value is the empty string.  The primary
  927.  *    use of this symbol is in specifying void parameter lists for function
  928.  *    prototypes.
  929.  */
  930. /* VOIDP
  931.  *    This symbol is used for casting generic pointers.  On implementations
  932.  *    which support void appropriately, its value is "void *".  Otherwise,
  933.  *    its value is "char *".
  934.  */
  935. #ifndef VOIDWANT
  936. #define VOIDWANT 1
  937. #endif
  938. #define VOIDHAVE 1
  939. #if (VOIDHAVE & VOIDWANT) != VOIDWANT
  940. #define void int        /* is void to be avoided? */
  941. #define VOID
  942. #define VOIDP (char *)
  943. #define M_VOID        /* Xenix strikes again */
  944. #else
  945. #define VOID void
  946. #define VOIDP (void *)
  947. #endif
  948.  
  949.  
  950. /* PRIVLIB
  951.  *    This symbol contains the name of the private library for this package.
  952.  *    The library is private in the sense that it needn't be in anyone's
  953.  *    execution path, but it should be accessible by the world.  The program
  954.  *    should be prepared to do ~ expansion.
  955.  */
  956. #define PRIVLIB "/usr/local/lib/perl"        /**/
  957.  
  958.  
  959. /*
  960.  * BINARY:
  961.  *    This symbol is defined if you run under an operating system that
  962.  *    distinguishes between binary and text files.  If so the function
  963.  *    setmode will be used to set the file into binary mode.
  964.  */
  965. #define BINARY
  966.  
  967.  
  968. #define S_ISUID 0
  969. #define S_ISGID 0
  970.  
  971.  
  972. /* For MSC5.1, toke.c "runs out of heap space" unless CRIPPLED_CC is
  973.  * defined.
  974.  */
  975. #if defined(BUGGY_MSC5) || defined(BUGGY_MSC6)
  976. #define        CRIPPLED_CC        /**/
  977. #endif
  978.  
  979. #if defined(BUGGY_MSC5) || defined(BUGGY_MSC6)
  980. /* MSC (5.1 and 6.0) doesn't know about S_IFBLK or S_IFIFO -- these are
  981.  * normally found in sys/stat.h
  982.  */
  983. #define S_IFBLK    (S_IFDIR | S_IFCHR)
  984. #define    S_IFIFO    0010000
  985. #endif
  986.  
  987.  
  988. /* Define SUFFIX to get special DOS suffix-replacement code */
  989. /* #undef SUFFIX                /**/
  990.  
  991.  
  992. /* Add this for the DOS-specific chdir() function */
  993. #define chdir perl_chdir
  994.  
  995.  
  996. #endif
  997.